package com.zjy.bean;

import java.util.Date;
import javax.persistence.*;

@Table(name = "goods_detail")
public class GoodsDetail {
    @Id
    private String id;

    /**
     * 商品id
     */
    @Column(name = "goods_id")
    private String goodsId;

    @Column(name = "create_at")
    private Date createAt;

    @Column(name = "upate_at")
    private Date upateAt;

    @Column(name = "del_flag")
    private Integer delFlag;

    /**
     * 商品详情
     */
    @Column(name = "goods_detail")
    private String goodsDetail;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /**
     * 获取商品id
     *
     * @return goods_id - 商品id
     */
    public String getGoodsId() {
        return goodsId;
    }

    /**
     * 设置商品id
     *
     * @param goodsId 商品id
     */
    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    /**
     * @return create_at
     */
    public Date getCreateAt() {
        return createAt;
    }

    /**
     * @param createAt
     */
    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    /**
     * @return upate_at
     */
    public Date getUpateAt() {
        return upateAt;
    }

    /**
     * @param upateAt
     */
    public void setUpateAt(Date upateAt) {
        this.upateAt = upateAt;
    }

    /**
     * @return del_flag
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * @param delFlag
     */
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 获取商品详情
     *
     * @return goods_detail - 商品详情
     */
    public String getGoodsDetail() {
        return goodsDetail;
    }

    /**
     * 设置商品详情
     *
     * @param goodsDetail 商品详情
     */
    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail == null ? null : goodsDetail.trim();
    }
}